package PhotoVoltaic.Equipment;

import java.io.Serializable;

//subclass combiner
public class Combiner extends BaseEquip implements Serializable{
	//total volt and current
	private int tol_Volt;
	private int tol_Cur;
	
	//construct function
	public Combiner(String name, String status, int tol_volt, int tol_cur) {
		super(name, status);
		this.type = "汇流箱";
		this.tol_Cur = tol_cur;
		this.tol_Volt = tol_volt;
	}
	
	//get the attributions
	public int getVolt() {
		return this.tol_Volt;
	}
	public int getCur() {
		return this.tol_Cur;
	}
}
